<?php
$host="localhost"; // Host name 
$username="root"; // Mysql username 
$password="root"; // Mysql password 
$db_name="vietnam"; // Database name 


// Connect to server and select databse.
$link=mysql_connect("$host", "$username", "$password")or die("cannot connect");   //$link -- shows the affected database or not
mysql_select_db($db_name,$link)or die("cannot select DB");

?>
